/** 
  * @author Ji Ye Choi <cgycgy@naver.com>
  * @version 1.10
  * @since 2010-11-11
  */ 

public class TurkeyAdapter implements Duck {
	Turkey turkey;
	
	public TurkeyAdapter(Turkey turkey) {
		this.turkey = turkey;
	}

	public void quack() {
		turkey.gobble();
	}

	public void fly() {
		for(int i = 0; i < 5; i++) {
			turkey.fly();
		}
	}
}
